//
//  HLIdleOperationQueue.h
//  HLDesktop
//
//  Created by 黄龙 on 2023/11/27.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface HLIdleOperation : NSObject

@end

@interface HLIdleOperationQueue : NSObject
@property (nonatomic, assign) int interval; // 每个operation最少间隔时间，单位ms
//单例
+ (instancetype)sharedObject;
//添加任务
- (void)addBeforeWaitingQueue:(dispatch_block_t)taskBlock;
@end

NS_ASSUME_NONNULL_END
